package com.foreknow.elm.po;

import java.util.List;

public class Orders {
  private  Integer orderId;
  private  String userId;
  private Integer businessId;
  private String orderDate;
  private Double orderTotal;
  private  Integer daId;
  private Integer orderState;


    //订单与明细建立关联   一对多
    private List<Orderdetailet> orderdetailetList;
    //订单与商家  多对一
    private  Business business;



    public List<Orderdetailet> getOrderdetailetList() {
        return orderdetailetList;
    }

    public void setOrderdetailetList(List<Orderdetailet> orderdetailetList) {
        this.orderdetailetList = orderdetailetList;
    }

    public Business getBusiness() {
        return business;
    }

    public void setBusiness(Business business) {
        this.business = business;
    }



    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public String getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    public Double getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(Double orderTotal) {
        this.orderTotal = orderTotal;
    }

    public Integer getDaId() {
        return daId;
    }

    public void setDaId(Integer daId) {
        this.daId = daId;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }
}
